package com.yangyouqi.chaper1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 杨友奇
 * @Time 2018/7/26
 */
@SpringBootApplication
@RestController
public class Chaper1Application {
    @RequestMapping("/")
    public String index(){
        return "Hello Word!!!";
    }

    public static void main(String[] args) {
        SpringApplication.run(Chaper1Application.class,args);
    }
}
